load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "StoryContainerScreen",
    module_name = "StoryContainerScreen",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/Display",
        "//submodules/AsyncDisplayKit",
        "//submodules/ComponentFlow",
        "//submodules/Components/ViewControllerComponent",
        "//submodules/Components/ComponentDisplayAdapters",
        "//submodules/TelegramUI/Components/MessageInputPanelComponent",
        "//submodules/TelegramUI/Components/ChatEntityKeyboardInputNode",
        "//submodules/TelegramUI/Components/ChatInputNode",
        "//submodules/AccountContext",
        "//submodules/SSignalKit/SwiftSignalKit",
        "//submodules/AppBundle",
        "//submodules/TelegramCore",
        "//submodules/Postbox",
        "//submodules/ShareController",
        "//submodules/UndoUI",
        "//submodules/AttachmentUI",
        "//submodules/TelegramUIPreferences",
        "//submodules/MediaPickerUI",
        "//submodules/LegacyMediaPickerUI",
        "//submodules/LocationUI",
        "//submodules/TelegramUI/Components/ChatScheduleTimeController",
        "//submodules/TelegramUI/Components/ChatTimerScreen",
        "//submodules/TextFormat",
        "//submodules/PhoneNumberFormat",
        "//submodules/ComposePollUI",
        "//submodules/TelegramIntents",
        "//submodules/LegacyUI",
        "//submodules/WebSearchUI",
        "//submodules/PremiumUI",
        "//submodules/ICloudResources",
        "//submodules/LegacyComponents",
        "//submodules/TelegramUI/Components/LegacyCamera",
        "//submodules/TelegramUI/Components/LegacyInstantVideoController",
        "//submodules/TelegramUI/Components/EntityKeyboard",
        "//submodules/TelegramUI/Components/Stories/StoryFooterPanelComponent",
        "//submodules/TelegramUI/Components/Stories/PeerListItemComponent",
        "//submodules/TelegramUI/Components/ShareWithPeersScreen",
        "//submodules/TelegramUI/Components/MediaEditorScreen",
        "//submodules/TelegramUI/Components/PlainButtonComponent",
        "//submodules/TelegramPresentationData",
        "//submodules/ReactionSelectionNode",
        "//submodules/ContextUI",
        "//submodules/AvatarNode",
        "//submodules/ChatPresentationInterfaceState",
        "//submodules/TelegramStringFormatting",
        "//submodules/ShimmerEffect",
        "//submodules/ImageCompression",
        "//submodules/TelegramUI/Components/TextNodeWithEntities",
        "//submodules/InvisibleInkDustNode",
        "//submodules/PresentationDataUtils",
        "//submodules/UrlEscaping",
        "//submodules/OverlayStatusController",
        "//submodules/Utils/VolumeButtons",
        "//submodules/TelegramUI/Components/PeerReportScreen",
        "//submodules/MediaResources",
        "//submodules/LocalMediaResources",
        "//submodules/SaveToCameraRoll",
        "//submodules/Components/BundleIconComponent",
        "//submodules/TinyThumbnail",
        "//submodules/ImageBlur",
        "//submodules/StickerPackPreviewUI",
        "//submodules/Components/AnimatedStickerComponent",
        "//submodules/OpenInExternalAppUI",
        "//submodules/MediaPasteboardUI",
        "//submodules/WebPBinding",
        "//submodules/Utils/RangeSet",
        "//submodules/TelegramUI/Components/Stories/StoryStealthModeSheetScreen",
        "//submodules/TelegramUI/Components/LottieComponent",
        "//submodules/TelegramUI/Components/LottieComponentResourceContent",
        "//submodules/TextSelectionNode",
        "//submodules/Pasteboard",
        "//submodules/Speak",
        "//submodules/TranslateUI",
        "//submodules/TelegramNotices",
        "//submodules/MediaPlayer:UniversalMediaPlayer",
        "//submodules/TelegramUniversalVideoContent",
        "//submodules/TelegramUI/Components/NavigationSearchComponent",
        "//submodules/TelegramUI/Components/TabSelectorComponent",
        "//submodules/TelegramUI/Components/OptionButtonComponent",
        "//submodules/TelegramUI/Components/EmojiTextAttachmentView",
        "//submodules/Components/BalancedTextComponent",
        "//submodules/AnimatedCountLabelNode",
        "//submodules/StickerResources",
        "//submodules/TelegramUI/Components/Stories/ForwardInfoPanelComponent",
        "//submodules/TelegramUI/Components/Stories/StoryQualityUpgradeSheetScreen",
        "//submodules/TelegramUI/Components/SliderContextItem",
        "//submodules/TelegramUI/Components/InteractiveTextComponent",
        "//submodules/TelegramUI/Components/SaveProgressScreen",
        "//submodules/TelegramUI/Components/Chat/ChatMessagePaymentAlertController",
        "//submodules/DirectMediaImageCache",
        "//submodules/PromptUI",
    ],
    visibility = [
        "//visibility:public",
    ],
)
